<?php if (count($userRelated) > 0) : ?>
    <dl>
        <?php foreach ($userRelated as $key=>$user) :?>
            <dd <?php if ($key === 0) :?>class="active"<?php endif;?> data-user="<?php echo $user['uid'] ?>">
                <a href="javascript:;">
                    <div class="so-name"><?php echo $user['userName'] ?></div>
                    <p><?php echo $user['userTypeName'] ?></p>
                    <span></span>
                </a>
            </dd>
        <?php endforeach;?>
    </dl>
<?php else : ?>
    
<?php endif;?>